html{
    width: 100%;
    height: 100%;
    scroll-behavior: smooth;
}
body{
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

.demo-logo-vertical{
    height: 64px;
}

.demo-logo-text,.demo-logo-text-image{
    width: 80%;
    height: 40px;
    background-color: rgba(99, 120, 127, 0.8);
    border-radius: 10px;
    margin: 12px auto;
    font-size: 16px;
    font-weight: 600;
    color: aliceblue;
    text-align: center;
    line-height: 40px;
}
.demo-logo-text-image{
    line-height: 50px;
    /* background-color: rgb(43, 42, 55); */
}
.home-header-info{
    height: 50px;
    border-bottom: 1px solid rgb(197, 126, 12);
}
.home-content{
    margin-top: 20px;
    height: 80%;
}
.home-table-a,.home-table-b{
    text-decoration: none;
    font-weight: bold;
    color: rgb(51, 13, 116);
}
.home-table-a:hover{
    text-decoration: dashed;
    color: red;
}
h3{
    color: rgb(10, 51, 85);
    margin: 15px 0;
}
h4{
    color: rgb(12, 83, 83);
    margin: 0;
    font-size: 15px;
}
.exitBtn{
    float: right;
    margin-top: 16px;
    margin-right: 20px;
}
.maintaince-link{
    color: skyblue;
    font-weight: bold;
}

.maintaince-link:hover{
    color: brown;
    cursor: pointer;
}

.interviewForm,.improveForm{
    width: 100%;
}

.form-row{
    width: 700px;
}

.form-label-span{
    color: rgb(12, 146, 12);
    font-weight: 600;
}

.ant-form-item {
    margin: 0;
}

.form-change-width{
    width: 200px !important;
}

.form-change-width-textarea{
    width: 600px !important;
}

.interview-modal{
    width: 1000px !important;
}

.spin-button:hover{
  animation: rotate 1s linear infinite;
}

.query-operator{
    width: 100%;
}

.reactflow-node{
  background-color: cadetblue;
  border-radius: 5px; 
}

.reactflow-edge{
  stroke: 'red';
  stroke-width: 2px;
}

.interview-ul{
    list-style: none;
    font-size: 1.2em;
    width: 90%;
    text-align: center;
    display: block;
    border-radius: 10px;
    background-color: rgb(226, 201, 174);
    padding-left: 0;
    margin-left: 10px;
    box-shadow: 0 0 1px 1px rgb(243, 238, 233);
}

.interview-ul-li,.interview-ul-li-last{
    height: 40px;
    width: 100%;
    line-height: 40px;
    border-bottom: 1px dotted rgb(38, 118, 150);
}
.interview-ul-li-last{
    border-bottom: none;
}

.interview-ul-span,.interview-ul-span-last,.interview-ul-span-title{
    padding: 0 2%;
    width: 100%;
    height: 40px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    border-right: 1px dotted rgb(38, 118, 150);
    display: inline-block;
}
.interview-ul-span-last{
    border-right: none;
}
.interview-ul-span-title{
    font-weight: 600;
    color:rgb(10, 51, 85);
}
.interview-box{
    overflow: auto;
    overflow-y: scroll;
    max-height: 83%;
}

.pagemain-box{
    overflow: auto;
    overflow-y: scroll;
    max-height: 83%;
}

.querymain-box{
    overflow: auto;
    overflow-y: scroll;
    max-height: 80%;
}

.interview-operator{
    height: 10%;
    margin-top: 20px;
}

.interview-operator-1{
    height: 5%;
}

canvas{
    width: 500px;
    height: 250px;
}


/* 自定义滚动条样式 */
::-webkit-scrollbar {
    width: 12px;
  }
  
::-webkit-scrollbar-track {
    background: rgb(200,200,200);
  }
  
::-webkit-scrollbar-thumb {
    background: rgb(82, 141, 164);
  }
  
::-webkit-scrollbar-thumb:hover {
    background: #4d358b;
}

section {
    scroll-margin-top: 50px; /* 滚动时顶部留出 50px 的边距 */
}
  

.manager-link{
    color: rgb(33, 36, 36);
    font-size: 1.1em;
    text-decoration: underline;
    margin: 0 10px;
    font-weight: 600;
}

.manager-link:hover{
    color: brown;
}

.query-input{
    width: 200px;
    display: inline-block;
    margin: 5px 10px;
}
  
.query-input-item{
    width: 150px;
}

@keyframes rotate{
    0%{
        transform: rotate(0deg);
    }
    100%{
        transform: rotate(360deg);
    }
}

@media screen and (min-width: 767px) and (max-width: 1024px) {
    .demo-logo-text,.demo-logo-text-image{
        font-size: 22px;
    }
    .ant-btn svg{
        font-size: 25px;
    }
    .ant-menu-item{
        font-size: 22px;
    }
    .ant-menu-item-icon{
        width: 22px;
        height: 22px;
    }
    .ant-layout-content{
        font-size: 22px !important;
    }
    .ant-table-content{
        font-size: 18px;
    }
    h3{
        margin: 10px 0;
    }
    h4{
        font-size: 1.3em;
    }
    .form-row{
        width: 580px;
    }
    .form-change-width{
        width: 150px !important;
    }
    .form-change-width-textarea{
        width: 300px !important;
    }
    .interview-modal{
        width: 600px !important;
    }
    .querymain-box{
        max-height: 50%;
    }
}